package com.common.exception;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 路亚
 * @version 0.1
 * @className JavaSmException
 * @description
 * @date 2024/12/11 14:50
 * @since jdk11
 */
@Data
@NoArgsConstructor
public class JavaSmException extends RuntimeException{

    private CodeAndMsg codeAndMsg;

    public JavaSmException(CodeAndMsg codeAndMsg) {
        this.codeAndMsg = codeAndMsg;
    }
}
